<template>
  <div id="app">
    <header-component></header-component>
    <div class="main">
      <sidebar-component></sidebar-component>
      <div class="content">
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>

<script>
import HeaderComponent from './components/HeaderComponent.vue';
import SidebarComponent from './components/SidebarComponent.vue';

export default {
  name: 'App',
  components: {
    HeaderComponent,
    SidebarComponent
  }
};
</script>

<style>
#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.main {
  display: flex;
  flex: 1;
}
.sidebar {
  width: 200px;
}
.content {
  flex: 1;
  padding: 20px;
}
</style>
